#                                               -*- cmake -*-

# Register current directory files
ot_add_current_dir_to_include_dirs ()

ot_add_source_file (AbdoRackwitz.cxx)
ot_add_source_file (algocobyla.c)
ot_add_source_file (Bonmin.cxx)
ot_add_source_file (Ceres.cxx)
ot_add_source_file (CMinpack.cxx)
ot_add_source_file (Cobyla.cxx)
if (OPENTURNS_HAVE_BONMIN)
  ot_add_source_file (BonminProblem.cxx)
endif ()
if (OPENTURNS_HAVE_IPOPT)
  ot_add_source_file (IpoptProblem.cxx)
endif()
ot_add_source_file (Ipopt.cxx)
ot_add_source_file (MultiStart.cxx)
ot_add_source_file (NearestPointChecker.cxx)
ot_add_source_file (NearestPointCheckerResult.cxx)
ot_add_source_file (NLopt.cxx)
ot_add_source_file (Dlib.cxx)
if (dlib_FOUND)
  ot_add_source_file (DlibFunctions.cxx)
endif()
ot_add_source_file (OptimizationProblem.cxx)
ot_add_source_file (OptimizationProblemImplementation.cxx)
ot_add_source_file (OptimizationAlgorithm.cxx)
ot_add_source_file (OptimizationAlgorithmImplementation.cxx)
ot_add_source_file (NearestPointProblem.cxx)
ot_add_source_file (LeastSquaresProblem.cxx)
ot_add_source_file (OptimizationResult.cxx)
ot_add_source_file (SQP.cxx)
ot_add_source_file (algotnc.c)
ot_add_source_file (TNC.cxx)

ot_install_header_file (OTOptim.hxx)
ot_install_header_file (AbdoRackwitz.hxx)
ot_install_header_file (Bonmin.hxx)
ot_install_header_file (Ceres.hxx)
ot_install_header_file (CMinpack.hxx)
ot_install_header_file (Cobyla.hxx)
ot_install_header_file (Dlib.hxx)
ot_install_header_file (Ipopt.hxx)
ot_install_header_file (MultiStart.hxx)
ot_install_header_file (NearestPointChecker.hxx)
ot_install_header_file (NearestPointCheckerResult.hxx)
ot_install_header_file (NLopt.hxx)
ot_install_header_file (OptimizationProblem.hxx)
ot_install_header_file (OptimizationProblemImplementation.hxx)
ot_install_header_file (NearestPointProblem.hxx)
ot_install_header_file (LeastSquaresProblem.hxx)
ot_install_header_file (OptimizationAlgorithm.hxx)
ot_install_header_file (OptimizationAlgorithmImplementation.hxx)
ot_install_header_file (OptimizationResult.hxx)
ot_install_header_file (SQP.hxx)
ot_install_header_file (TNC.hxx)

